﻿namespace Lib.WPF.Entitys;
/// <summary>
/// 登录用户实体类
/// </summary>
public class LoginEntity {
    /// <summary>
    /// 构造函数
    /// </summary>
    public LoginEntity(string LoginName = null, string Password = null, string Picture = null, int? UID = null) {
        this.UID = UID;
        this.LoginName = LoginName; 
        this.Password = Password;
        this.Picture = Picture;
    }
    /// <summary>
    /// 帐号主键
    /// </summary>
    public int? UID { get; set; }
    /// <summary>
    /// 登录帐号
    /// </summary>
    public string LoginName { get; set; }
    /// <summary>
    /// 密码（加密）
    /// </summary>
    public string Password { get; set; }
    /// <summary>
    /// 头像图片（文件名）
    /// </summary>
    public string Picture { get; set; }
}
